//
//  NSAnimationPlayer.h
//  sandbox
//
//  Created by 杨岑 on 1/10/15.
//  Copyright (c) 2015 杨岑. All rights reserved.
//

#import <Cocoa/Cocoa.h>
#import "MyAnimationGroupItem.h"


@interface MyAnimationGroup: NSObject<NSAnimationDelegate>
@property (readonly, copy) NSArray* items;  // of MyAnimationGroupItem
@property (readonly) NSInteger current;
@property (readonly) BOOL playing;

- (void)addItem:(MyAnimationGroupItem*)item;
- (BOOL)start;
@end
